<html>
<head>
<title>My Form</title>
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>public/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>public/css/bootstrap-theme.min.css">
<script type="text/javascript" src="<?php echo base_url();?>public/js/jquery.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>public/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>public/css/style.css">
</head>
<body>
<?php $this->load->view('admin/admin_nav'); ?>
<div class="container">
	<div class="page-header">
	  <h3><?php echo $a;?>分类</h3>
	</div>
	<div class="row">
		<div class="form-group col-md-9 col-md-offset-1 ">
			<form class="form-horizontal" action="" method="POST">
			<!-- <div class="form-group">
					<label class="col-sm-2 control-label">编号：</label>
				    <div class="col-sm-4">
				    	<input type="text" name="id" class="form-control" value="<?php echo set_value('id',$catalog->id); ?>" size="50" />
				    	<?php echo form_error('id'); ?>
				    </div>
				</div> -->
				<div class="form-group">
					<label class="col-sm-2 control-label">名称：</label>
				    <div class="col-sm-4">
				    	<input type="text" name="name" class="form-control" value="<?php echo set_value('name',$catalog->name); ?>" size="50" />
				    	<?php echo form_error('name'); ?>
				    </div>
				</div>
			  	<div class="col-sm-offset-2 col-sm-4">
			  		<input type="submit" value="提交" class="btn btn-success " />
			  		<a class="btn btn-info" href="<?php echo site_url('admin/Catalog/index') ?>">返回</a>
			  	</div>
			</form>
		</div>
	</div>
</div>
</body>
</html>
